<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Doxygen: pcl::gpu::kinfuLS::ColorVolume类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Doxygen
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classpcl_1_1gpu_1_1kinfu_l_s_1_1_color_volume.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-types">Public 类型</a> &#124;
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pri-attribs">Private 属性</a> &#124;
<a href="classpcl_1_1gpu_1_1kinfu_l_s_1_1_color_volume-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">pcl::gpu::kinfuLS::ColorVolume类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p><a class="el" href="classpcl_1_1gpu_1_1kinfu_l_s_1_1_color_volume.html" title="ColorVolume class">ColorVolume</a> class  
 <a href="classpcl_1_1gpu_1_1kinfu_l_s_1_1_color_volume.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="large__scale_2include_2pcl_2gpu_2kinfu__large__scale_2color__volume_8h_source.html">color_volume.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public 类型</h2></td></tr>
<tr class="memitem:a0c4306bd9e4aa0b0f0a6c988e039fbc9"><td class="memItemLeft" align="right" valign="top"><a id="a0c4306bd9e4aa0b0f0a6c988e039fbc9"></a>
typedef <a class="el" href="structpcl_1_1_point_x_y_z.html">PointXYZ</a>&#160;</td><td class="memItemRight" valign="bottom"><b>PointType</b></td></tr>
<tr class="separator:a0c4306bd9e4aa0b0f0a6c988e039fbc9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab9ee70d590a9a325d9cbdfe42b9338fb"><td class="memItemLeft" align="right" valign="top"><a id="ab9ee70d590a9a325d9cbdfe42b9338fb"></a>
typedef boost::shared_ptr&lt; <a class="el" href="classpcl_1_1gpu_1_1kinfu_l_s_1_1_color_volume.html">ColorVolume</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>Ptr</b></td></tr>
<tr class="separator:ab9ee70d590a9a325d9cbdfe42b9338fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:ab99748c8f77741db805eddf37eac7ca5"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1gpu_1_1kinfu_l_s_1_1_color_volume.html#ab99748c8f77741db805eddf37eac7ca5">ColorVolume</a> (const <a class="el" href="classpcl_1_1gpu_1_1kinfu_l_s_1_1_tsdf_volume.html">TsdfVolume</a> &amp;tsdf, int max_weight=-1)</td></tr>
<tr class="memdesc:ab99748c8f77741db805eddf37eac7ca5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor  <a href="classpcl_1_1gpu_1_1kinfu_l_s_1_1_color_volume.html#ab99748c8f77741db805eddf37eac7ca5">更多...</a><br /></td></tr>
<tr class="separator:ab99748c8f77741db805eddf37eac7ca5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7729fca0080bc45322d4d70b4849fa02"><td class="memItemLeft" align="right" valign="top"><a id="a7729fca0080bc45322d4d70b4849fa02"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1gpu_1_1kinfu_l_s_1_1_color_volume.html#a7729fca0080bc45322d4d70b4849fa02">~ColorVolume</a> ()</td></tr>
<tr class="memdesc:a7729fca0080bc45322d4d70b4849fa02"><td class="mdescLeft">&#160;</td><td class="mdescRight">Desctructor <br /></td></tr>
<tr class="separator:a7729fca0080bc45322d4d70b4849fa02"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4abbcef13fa260adddc929cb0fa295fa"><td class="memItemLeft" align="right" valign="top"><a id="a4abbcef13fa260adddc929cb0fa295fa"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1gpu_1_1kinfu_l_s_1_1_color_volume.html#a4abbcef13fa260adddc929cb0fa295fa">reset</a> ()</td></tr>
<tr class="memdesc:a4abbcef13fa260adddc929cb0fa295fa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Resets color volume to uninitialized state <br /></td></tr>
<tr class="separator:a4abbcef13fa260adddc929cb0fa295fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad747f81e73b43fd0bd838f93db971308"><td class="memItemLeft" align="right" valign="top"><a id="ad747f81e73b43fd0bd838f93db971308"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1gpu_1_1kinfu_l_s_1_1_color_volume.html#ad747f81e73b43fd0bd838f93db971308">getMaxWeight</a> () const</td></tr>
<tr class="memdesc:ad747f81e73b43fd0bd838f93db971308"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns running average length <br /></td></tr>
<tr class="separator:ad747f81e73b43fd0bd838f93db971308"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3789e8f1ed91726ecee1c2a4d23c1213"><td class="memItemLeft" align="right" valign="top"><a id="a3789e8f1ed91726ecee1c2a4d23c1213"></a>
<a class="el" href="classpcl_1_1gpu_1_1_device_array2_d.html">DeviceArray2D</a>&lt; int &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1gpu_1_1kinfu_l_s_1_1_color_volume.html#a3789e8f1ed91726ecee1c2a4d23c1213">data</a> () const</td></tr>
<tr class="memdesc:a3789e8f1ed91726ecee1c2a4d23c1213"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns container with color volume in GPU memory <br /></td></tr>
<tr class="separator:a3789e8f1ed91726ecee1c2a4d23c1213"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9e45037a354953a1301dd5b7ae60e9fc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1gpu_1_1kinfu_l_s_1_1_color_volume.html#a9e45037a354953a1301dd5b7ae60e9fc">fetchColors</a> (const <a class="el" href="classpcl_1_1gpu_1_1_device_array.html">DeviceArray</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z.html">PointType</a> &gt; &amp;cloud, <a class="el" href="classpcl_1_1gpu_1_1_device_array.html">DeviceArray</a>&lt; <a class="el" href="structpcl_1_1_r_g_b.html">RGB</a> &gt; &amp;colors) const</td></tr>
<tr class="memdesc:a9e45037a354953a1301dd5b7ae60e9fc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes colors from color volume  <a href="classpcl_1_1gpu_1_1kinfu_l_s_1_1_color_volume.html#a9e45037a354953a1301dd5b7ae60e9fc">更多...</a><br /></td></tr>
<tr class="separator:a9e45037a354953a1301dd5b7ae60e9fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private 属性</h2></td></tr>
<tr class="memitem:a7578e2256b2cfde775f9df1e77994223"><td class="memItemLeft" align="right" valign="top"><a id="a7578e2256b2cfde775f9df1e77994223"></a>
Eigen::Vector3i&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1gpu_1_1kinfu_l_s_1_1_color_volume.html#a7578e2256b2cfde775f9df1e77994223">resolution_</a></td></tr>
<tr class="memdesc:a7578e2256b2cfde775f9df1e77994223"><td class="mdescLeft">&#160;</td><td class="mdescRight">Volume resolution <br /></td></tr>
<tr class="separator:a7578e2256b2cfde775f9df1e77994223"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae343ec34c4452e576fe9dd2462a0ae79"><td class="memItemLeft" align="right" valign="top"><a id="ae343ec34c4452e576fe9dd2462a0ae79"></a>
Eigen::Vector3f&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1gpu_1_1kinfu_l_s_1_1_color_volume.html#ae343ec34c4452e576fe9dd2462a0ae79">volume_size_</a></td></tr>
<tr class="memdesc:ae343ec34c4452e576fe9dd2462a0ae79"><td class="mdescLeft">&#160;</td><td class="mdescRight">Volume size in meters <br /></td></tr>
<tr class="separator:ae343ec34c4452e576fe9dd2462a0ae79"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a36372f9ea9728d1f807b53fbbffc3bfc"><td class="memItemLeft" align="right" valign="top"><a id="a36372f9ea9728d1f807b53fbbffc3bfc"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1gpu_1_1kinfu_l_s_1_1_color_volume.html#a36372f9ea9728d1f807b53fbbffc3bfc">max_weight_</a></td></tr>
<tr class="memdesc:a36372f9ea9728d1f807b53fbbffc3bfc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Length of running average <br /></td></tr>
<tr class="separator:a36372f9ea9728d1f807b53fbbffc3bfc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a82b75f11222f730ea0c83d200d82289b"><td class="memItemLeft" align="right" valign="top"><a id="a82b75f11222f730ea0c83d200d82289b"></a>
<a class="el" href="classpcl_1_1gpu_1_1_device_array2_d.html">DeviceArray2D</a>&lt; int &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1gpu_1_1kinfu_l_s_1_1_color_volume.html#a82b75f11222f730ea0c83d200d82289b">color_volume_</a></td></tr>
<tr class="memdesc:a82b75f11222f730ea0c83d200d82289b"><td class="mdescLeft">&#160;</td><td class="mdescRight">color volume data <br /></td></tr>
<tr class="separator:a82b75f11222f730ea0c83d200d82289b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p><a class="el" href="classpcl_1_1gpu_1_1kinfu_l_s_1_1_color_volume.html" title="ColorVolume class">ColorVolume</a> class </p>
<dl class="section author"><dt>作者</dt><dd>Anatoly Baskeheev, Itseez Ltd, (<a href="#" onclick="location.href='mai'+'lto:'+'myn'+'am'+'e.m'+'ys'+'urn'+'am'+'e@m'+'yc'+'omp'+'an'+'y.c'+'om'; return false;">mynam<span style="display: none;">.nosp@m.</span>e.my<span style="display: none;">.nosp@m.</span>surna<span style="display: none;">.nosp@m.</span>me@m<span style="display: none;">.nosp@m.</span>ycomp<span style="display: none;">.nosp@m.</span>any.<span style="display: none;">.nosp@m.</span>com</a>) </dd></dl>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a id="ab99748c8f77741db805eddf37eac7ca5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab99748c8f77741db805eddf37eac7ca5">&#9670;&nbsp;</a></span>ColorVolume()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">pcl::gpu::kinfuLS::ColorVolume::ColorVolume </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classpcl_1_1gpu_1_1kinfu_l_s_1_1_tsdf_volume.html">TsdfVolume</a> &amp;&#160;</td>
          <td class="paramname"><em>tsdf</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>max_weight</em> = <code>-1</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Constructor </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">tsdf</td><td>tsdf volume to get parameters from </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">max_weight</td><td>max weight for running average. Can be less than 255. Negative means default. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="a9e45037a354953a1301dd5b7ae60e9fc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9e45037a354953a1301dd5b7ae60e9fc">&#9670;&nbsp;</a></span>fetchColors()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::gpu::kinfuLS::ColorVolume::fetchColors </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classpcl_1_1gpu_1_1_device_array.html">DeviceArray</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z.html">PointType</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>cloud</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classpcl_1_1gpu_1_1_device_array.html">DeviceArray</a>&lt; <a class="el" href="structpcl_1_1_r_g_b.html">RGB</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>colors</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Computes colors from color volume </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">cloud</td><td>Points for which colors are to be computed. </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">colors</td><td>output array for colors </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>gpu/kinfu_large_scale/include/pcl/gpu/kinfu_large_scale/<a class="el" href="large__scale_2include_2pcl_2gpu_2kinfu__large__scale_2color__volume_8h_source.html">color_volume.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>pcl</b></li><li class="navelem"><b>gpu</b></li><li class="navelem"><b>kinfuLS</b></li><li class="navelem"><a class="el" href="classpcl_1_1gpu_1_1kinfu_l_s_1_1_color_volume.html">ColorVolume</a></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
